package com.lovo.pis.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lovo.pis.dto.BuyCarGoodsBean;
import com.lovo.pis.dto.CustomBean;
import com.lovo.pis.dto.StockGoodsBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface StockGoodsMapper extends BaseMapper<StockGoodsBean> {

//    IPage<StockGoodsBean> selectAll(@Param("page") Page page, @Param("carId") int carId);

    List<String> selectType();

    void insertStock(@Param("buyCar") BuyCarGoodsBean buyCar);
}
